import _import from "./_import";
import { RouterMeta } from "./app";
export const SYSTEMRouters = [
    {
        path: "area",
        component: _import("system-manage/src/regional-manage/table.vue"),
        name: "RegionalArea",
        meta: {
            title: "区域列表",
            requiresAuth: true,
            isMenu: true,
            roleName: "SystemManageArea",
            roles: ["SystemManageArea"]
        } as RouterMeta
    },
    {
        path: "town",
        component: _import("system-manage/src/regional-manage/table.vue"),
        name: "RegionalTown",
        meta: {
            title: "乡镇列表",
            requiresAuth: true,
            isMenu: true,
            roleName: "SystemManageTown",
            roles: ["SystemManageTown"]
        } as RouterMeta
    },
    {
        path: "village",
        component: _import("system-manage/src/regional-manage/table.vue"),
        name: "RegionalVillage",
        meta: {
            title: "村域列表",
            requiresAuth: true,
            isMenu: true,
            roleName: "SystemManageVillage",
            roles: ["SystemManageVillage"]
        } as RouterMeta
    },
    {
        path: "update",
        component: _import("system-manage/src/regional-manage/update.vue"),
        name: "RegionalUpdate",
        meta: {
            title: "区域编辑",
            requiresAuth: true,
            isMenu: false,
            roleName: "SystemManageArea",
            roles: ["SystemManageArea"]
        } as RouterMeta
    },
    {
        path: "update-operateTown",
        component: _import("system-manage/src/regional-manage/update.vue"),
        name: "RegionalUpdateOperateTown",
        meta: {
            title: "镇域编辑",
            requiresAuth: true,
            isMenu: false,
            roleName: "SystemManageTown",
            roles: ["SystemManageTown"]
        } as RouterMeta
    },
    {
        path: "role-manage",
        component: _import("system-manage/src/role-manage/index.vue"),
        name: "SystemRoleManage",
        meta: {
            title: "角色管理",
            requiresAuth: true,
            isMenu: true
        } as RouterMeta
    },
    {
        path: "town-explain",
        component: _import("system-manage/src/town-manage/town-explain.vue"),
        name: "TownExplain",
        meta: {
            title: "乡镇介绍",
            requiresAuth: true,
            isMenu: true
            // roles: ["ProcessManageHome"]
        } as RouterMeta
    },
    {
        path: "village-describe",
        component: _import("system-manage/src/village-describe/index.vue"),
        name: "SystemVillageDes",
        meta: {
            title: "村域介绍",
            requiresAuth: true,
            isMenu: true
        } as RouterMeta
    },
    {
        path: "group-mange",
        component: _import(
            "system-manage/src/village-describe/group-mange.vue"
        ),
        name: "SystemGroupMange",
        meta: {
            title: "队(组)管理",
            requiresAuth: true,
            isMenu: true
        } as RouterMeta
    },
    {
        path: "job-manage",
        component: _import("system-manage/src/job-manage/index.vue"),
        name: "SystemJobManage",
        meta: {
            title: "职位管理",
            requiresAuth: true,
            isMenu: true
        } as RouterMeta
    }
];

export const RouterConfig = {};
